	
/* begin: SearchPage object -- helper functions */
function SearchPage(){

	/* Update string which shows "Showing 1-5 of 10 ..." */
	this.update_results_count=function(records, totalRecords) {
		var start_index = 0;
		var end_index = totalRecords;
		if (records != null) {
			start_index = records[0] + 1;
			end_index = records[1] + 1;
		};
		jQuery('#records_index').text(start_index + '-' + end_index + ' of ');
	};
};
/* end: SearchPage object -- helper functions */

